package com.tour.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lel
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Restaurant对象", description="")
public class Restaurant implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "餐厅id")
    @TableId(value = "r_id", type = IdType.AUTO)
    private Integer rId;

    @ApiModelProperty(value = "评分")
    private String shopScore;

    @ApiModelProperty(value = "人均")
    private String perCapita;

    @ApiModelProperty(value = "地址")
    private String shopAddress;

    @ApiModelProperty(value = "名字")
    private String shopname;

    @ApiModelProperty(value = "图片")
    private String rPicture;

    private String city;


}
